package cn.edu.scau.cmi.lixiaoyuan.spring;



public class Student {
	private Long id;
	private Teacher teacher;
	private String name;
    private Long number;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Teacher getTeacher() {
		return teacher;
	}
	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Long getNumber() {
		return number;
	}
	public void setNumber(Long number) {
		this.number = number;
	}
	@Override
	public String toString() {
		return "Student [id=" + id + ", teacher=" + teacher + ", name=" + name + ", number=" + number + "]";
	}
    
    
}
